<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>插件-弹窗</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <script src="../js/jquery-3.3.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</head>
<body>
<!-- 按钮层 begin-->
<button class="btn btn-primary" data-toggle="modal" data-target="#myModal">
    按钮
</button>
<button class="btn btn-danger" data-toggle="modal" data-target="#showme">
    按钮
</button>
<!-- 按钮层 end-->
<div id="showme">
    测试内容
</div>
<!-- 弹窗窗口 Modal-->
<div id="myModal" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal">
                    <span>&times;</span>
                    <span class="sr-only">关闭弹窗</span>
                </button>
                <h4 id="myModalLabel" class="modal-title">标题</h4>
            </div>
            <div class="modal-body">
                内容
            </div>
            <div class="modal-footer">
                <button class="btn btn-default" data-dismiss="modal">关闭</button>
                <button class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>